import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
  {
    path: '/',
    redirect:"/home"
  },
  {
    path: '/home',
    name: 'home',
    component: () => import('../views/home.vue')
  }, {
    path: '/fa',
    name: 'fa',
    component: () => import('../views/fa.vue')
  }, {
    path: '/ding',
    name: 'ding',
    component: () => import('../views/ding.vue')
  }, {
    path: '/wo',
    name: 'wo',
    component: () => import('../views/wo.vue')
  }, {
    path: '/list',
    name: 'list',
    component: () => import('../views/list.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
